package cn.edu.hunau.basic.day01;

import org.junit.Test;

import java.util.Scanner;

/**
 * @author hb
 * @date 2025-07-28 16:10:46
 */
public class JunitTest {

    @Test  //@Test为单元测试的注解
    public void test01(){
        System.out.println("test01");
    }

    @Test
    public void testInt(){
       Scanner sc=new Scanner(System.in);
        int i = sc.nextInt();
        System.out.println(i);
     }

    @Test
    public void testString(){
        Scanner sc=new Scanner(System.in);
        String i = sc.next();
        System.out.println(i);
    }
}
